Platform Explorer / Nuxeo Platform 2023.22

Operation PDF.ExtractLinks (PDF: Extract Links)

Description

Returns a JSON string of an array of objects with page, subType, text and link fields. If getAll is true, returns all the links (Remote Go To, Launch and URI in the current version).
Operation id PDF.ExtractLinks
Category Conversion
Label PDF: Extract Links
Requires
Since

Parameters

Name Description Type Required Default value
getAll boolean no  
type string no Launch, Remote Go To, URI 

Signature

Inputs blob
Outputs string

Implementation Information

Implementation Class Class: org.nuxeo.ecm.platform.pdf.operations.PDFExtractLinksOperation
Contributing Component org.nuxeo.ecm.platform.pdf.operations

JSON Definition

{
  "id" : "PDF.ExtractLinks",
  "label" : "PDF: Extract Links",
  "category" : "Conversion",
  "requires" : null,
  "description" : "Returns a JSON string of an array of objects with page, subType, text and link fields. If getAll is true, returns all the links (Remote Go To, Launch and URI in the current version).",
  "url" : "PDF.ExtractLinks",
  "signature" : [ "blob", "string" ],
  "params" : [ {
    "name" : "getAll",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "type",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "Launch", "Remote Go To", "URI" ]
  } ]
}